<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>RoubSite后台管理</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<script type="text/javascript">
var webPath = '{$__WEBPATH__}';
</script>
<script src="{$__WEBPATH__}/static/common/js/roubSite.js"></script>
<script type="text/javascript">RS.webPath='{$__WEBPATH__}';</script>
<script src="{$__WEBPATH__}/static/common/js/import.js"></script>
</head>
<body>
	<!--主要内容begin-->
	<script>
var retInfo={$retInfo};
</script>
	<script>
var method='{$method}';
</script>
	<script src="{$__WEBPATH__}/static/admin/rsRoles/js/editRsRoles.js"></script>
	<div class="layui-fluid">
		<div class="layui-card">
			<div class="layui-card-header">{if $method eq "INSERT"}添加角色{else}修改角色{/if}</div>
			<div class='layui-card-body'>
				<div class="layui-row layui-col-space15">
					<div class="layui-col-md12">
						<form class="layui-form" id='editForm' onsubmit="return false;">
							<div class="layui-form-item">
								<div class="layui-inline">
									<label for="roleId" class="layui-form-label">角色id</label>
									<div class="layui-input-inline">
										<input type="text" class="layui-input" id="roleId" name="roleId" placeholder="角色id">
									</div>
								</div>
								<div class="layui-inline">
									<label for="roleName" class="layui-form-label">角色名</label>
									<div class="layui-input-inline">
										<input type="text" class="layui-input" id="roleName" name="roleName" placeholder="角色名">
									</div>
								</div>
							</div>
							<div class="layui-form-item">
								<div class="layui-inline">
									<label for="description" class="layui-form-label">说明</label>
									<div class="layui-input-inline">
										<input type="text" class="layui-input" id="description" name="description" placeholder="说明">
									</div>
								</div>

							</div>
							<div class="layui-form-item">
								<div class="layui-input-block">
									<button type="submit" class="layui-btn" onclick="save()">提交</button>
									<button type="submit" class="layui-btn layui-btn-danger" onclick="history.back();">返回</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--主要内容end-->
</body>
</html>
